export function loadMapLayers(viewer = window.cesiumViewer) {
  const defaultCheckedKeys = ['离线影像']
  // 之前静态import出错
  import('../../components/cesium/CesiumImageryLayer.js').then(({ CesiumImageryLayerDict }) => {
    defaultCheckedKeys.forEach((layerName) => {
      viewer.imageryLayers.add(CesiumImageryLayerDict[layerName])
    })
  })
}
